package homework.day003;

import java.util.ArrayList;
import java.util.Collection;

/**
 * 改错题
 * @author Xiloer
 *
 */
public class Test02 {
    //main方法没有调用,string少了[]
    public static void main(String[] args) {
        //Collection和ArrayListmeiyoudiaoy
        //ArrayList少了个()
        Collection<String> c = new ArrayList();
        c.add("one");
        c.add("two");
        c.add("three");
        c.add("four");
        c.add("five");
        for(String s : c) {
            System.out.println(s);
    }



	}
}



